@echo off
setlocal enabledelayedexpansion
set count=%1
if "%count%"=="" set count=50
set str=-
for /l %%i in (1,1,%count%) do set str=!str!-
echo %str%